import { request } from "@umijs/max";
import { stringify } from "qs";
//新增客房消毒记录
export const addDftRecords = (params: any) =>
  request(`/roomDftRecords/save`, {
    method: "POST",
    data: params,
  });
//分页查询客房消毒记录
export const getDftPage = (params: any) =>
  request(`/roomDftRecords/page?${stringify(params)}`, {
    method: "GET",
  });
//更新客房消毒状态
export const changeDftStatus = (params: any) =>
  request(`/roomDftRecords/editStatus`, {
    method: "POST",
    data: params,
  });
